﻿using ReactiveUI;
using System.ComponentModel;

namespace LS.Screening.UI.Common
{
    /// <summary>
    /// 枚举项
    /// </summary>
    public class EnumItemDescription : ReactiveObject
    {
        /// <summary>
        /// 是否选中
        /// </summary>
        public bool Selected { get; set; }

        /// <summary>
        /// 枚举数值
        /// </summary>
        [DisplayName("键")]
        public int Key { get; set; }

        /// <summary>
        /// 枚举值
        /// </summary>
        [DisplayName("值")]
        public object Value { get; set; }

        /// <summary>
        /// 枚举描述信息
        /// </summary>
        [DisplayName("说明")]
        public string Description { get; set; }
    }
}
